4f0f53991455ead3032d7dc51f13aaf64f0d0a8f,src/main/java/darkevilmac/movingworld/common/entity/MovingWorldHandlerServer.java,MovingWorldHandlerServer,onChunkUpdate,#,35
Before Change
super.onChunkUpdate();
Collection<BlockPos> list = ((MobileChunkServer) getMovingWorld().getMobileChunk()).getSendQueue();
if (!firstChunkUpdate) {
ChunkBlockUpdateMessage msg = new ChunkBlockUpdateMessage(getMovingWorld(), list);
MovingWorld.instance.network.sendToAllAround(msg, new NetworkRegistry.TargetPoint(getMovingWorld().worldObj.provider.getDimension(), getMovingWorld().posX, getMovingWorld().posY, getMovingWorld().posZ, 64D));
}
list.clear();
After Change
if (!firstChunkUpdate) {
MovingWorldNetworking.NETWORK.send().packet("ChunkBlockUpdateMessage")
.with("dimID", getMovingWorld().worldObj.provider.getDimension())
.with("entityID", getMovingWorld().getEntityId())
.with("chunk", ChunkIO.writeCompressed(getMovingWorld().getMobileChunk(), list))
.toAllAround(getMovingWorld().worldObj, getMovingWorld(), 64D);
}
list.clear();